package cn.myfirefly.moming.house.entity;

import static javax.persistence.GenerationType.IDENTITY;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import cn.myfirefly.core.entity.BasePO;

@Entity
@Table(name = "spf_trade_return_visit")
public class SpfTradeReturnVisit extends BasePO implements java.io.Serializable {
		
	/**
	 * 
	 */
	private static final long serialVersionUID = -1286397912033499012L;
	//columns START
	/** ID */
	private Integer id;
	/** ID */
	private Integer tradeContractId;
	/** 回访人 */
	private String returnVisitPerson;
	/** 回访日期 */
	private java.util.Date returnVisitDate;
	/** 办理进度 */
	private String returnVisitContent;
	//columns END

	/**
	 * ID
	 * @return
	 */
	@Id
    @GeneratedValue(strategy = IDENTITY)
    @Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}
	
	/**
	 * ID
	 * @param value
	 */
	public void setId(Integer value) {
		this.id = value;
	}
		
	/**
	 * ID
	 * @return
	 */
	@Column(name = "trade_contract_id", nullable = true)
	public Integer getTradeContractId() {
		return this.tradeContractId;
	}
	
	/**
	 * ID
	 * @param value
	 */
	public void setTradeContractId(Integer value) {
		this.tradeContractId = value;
	}
		
	/**
	 * 回访人
	 * @return
	 */
	@Column(name = "return_visit_person", nullable = true)
	public String getReturnVisitPerson() {
		return this.returnVisitPerson;
	}
	
	/**
	 * 回访人
	 * @param value
	 */
	public void setReturnVisitPerson(String value) {
		this.returnVisitPerson = value;
	}
		
		/**
		 * 回访日期
		 * @return
		 */
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "return_visit_date", nullable = true)
	public Date getReturnVisitDate() {
		return this.returnVisitDate;
	}
	
	/**
	 * 回访日期
	 * @param value
	 */
	public void setReturnVisitDate(Date value) {
		this.returnVisitDate = value;
	}
	
	/**
	 * 办理进度
	 * @return
	 */
	@Column(name = "return_visit_content", nullable = true)
	public String getReturnVisitContent() {
		return this.returnVisitContent;
	}
	
	/**
	 * 办理进度
	 * @param value
	 */
	public void setReturnVisitContent(String value) {
		this.returnVisitContent = value;
	}
		
}

